package test;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

import wuke.dao.DlDao;
import wuke.model.Dlb;

public class test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Dlb dlb = new Dlb();
		dlb.setXh("001");
		dlb.setKl("123");
		ApplicationContext context = new FileSystemXmlApplicationContext("WebRoot/WEB-INF/applicationContext.xml");
		DlDao dlDao = (DlDao) context.getBean("dlDao");
		dlDao.save(dlb);
	}

}
